package com.we.risk.attribution.correct;

public class UserInfo {
    private String userKey;
    private long uid;
    private String deviceId;
    private String originSource;
    private String type;
    private String action;
    private long actionTime;
    private int curCnt;
    private String bizId;

    public UserInfo(String userKey, long uid, String deviceId, String originSource, String type,
                    String action, long actionTime, int curCnt, String bizId) {
        this.userKey = userKey;
        this.uid = uid;
        this.deviceId = deviceId;
        this.originSource = originSource;
        this.type = type;
        this.action = action;
        this.actionTime = actionTime;
        this.curCnt = curCnt;
        this.bizId = bizId;
    }

    public long getUid() {
        return uid;
    }

    public int getCurCnt() {
        return curCnt;
    }

    public String getAction() {
        return action;
    }

    public String getBizId() {
        return bizId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public String getOriginSource() {
        return originSource;
    }

    public String getType() {
        return type;
    }

    public String getUserKey() {
        return userKey;
    }

    public long getActionTime() {
        return actionTime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userKey='" + userKey + '\'' +
                ", uid=" + uid +
                ", deviceId='" + deviceId + '\'' +
                ", originSource='" + originSource + '\'' +
                ", type='" + type + '\'' +
                ", action='" + action + '\'' +
                ", actionTime=" + actionTime +
                ", curCnt=" + curCnt +
                ", bizId='" + bizId + '\'' +
                '}';
    }
}
